﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： UserMessageEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/11/15
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("MessageID")]
	public class UserMessage
	{
		///<summary>
		///
		///</summary>
		public UserMessage()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("MessageID","主键")]
        public int MessageID { get; set; }

		///<summary>
		///用户ID
		///</summary>
        [Column("UserID","用户ID")]
        public int UserID { get; set; }

		///<summary>
		///文章ID
		///</summary>
        [Column("CommentID","文章ID")]
        public int CommentID { get; set; }

		///<summary>
		///评论ID
		///</summary>
        [Column("TrailCommentID","评论ID")]
        public int TrailCommentID { get; set; }

		///<summary>
		///1-未查看 2-已查看
		///</summary>
        [Column("Status","1-未查看 2-已查看")]
        public int Status { get; set; }

		///<summary>
		///查看时间
		///</summary>
        [Column("ViewTime","查看时间")]
        public DateTime ViewTime { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

	}
}